package com.mrjy.common.entity;

import java.util.Date;

import com.mrjy.common.util.ExcelField;

/*
 * 访问日志
 */
public class AccessLog extends BaseEntity{
	@ExcelField(title = "序号")
	private Integer id; //ID
	@ExcelField(title = "访问者")
	private String userName;  //用户名
	@ExcelField(title = "类别")
	private String roleName;  //用户角色
	@ExcelField(title = "权限")
	private String authority;  //用户权限
	@ExcelField(title = "操作时间")
	private Date accessTime;  //操作时间
	@ExcelField(title = "类型")
	private String type; //类型  1:登入  2:退出
	
	private String startTimeString; 
	private String endTimeString; 
	
	
	public String getStartTimeString() {
		return startTimeString;
	}
	public void setStartTimeString(String startTimeString) {
		this.startTimeString = startTimeString;
	}
	public String getEndTimeString() {
		return endTimeString;
	}
	public void setEndTimeString(String endTimeString) {
		this.endTimeString = endTimeString;
	}
	public Integer getId() {
		return id;
	}
	public void setId(Integer id) {
		this.id = id;
	}
	public String getUserName() {
		return userName;
	}
	public void setUserName(String userName) {
		this.userName = userName;
	}
	
	public String getAuthority() {
		return authority;
	}
	public void setAuthority(String authority) {
		this.authority = authority;
	}
	public Date getAccessTime() {
		return accessTime;
	}
	public void setAccessTime(Date accessTime) {
		this.accessTime = accessTime;
	}

	public String getRoleName() {
		return roleName;
	}
	public void setRoleName(String roleName) {
		this.roleName = roleName;
	}
	public String getType() {
		return type;
	}
	public void setType(String type) {
		this.type = type;
	}
	
	
}
